package com.ruikong.dazhi.controller.result;

public class ResultApi {

    public static int successCode = 0;//成功
    public static int failCode = 1;//失败
    public static int snExistCode = 2;//编号已存在


    public static int errorCode = 3;//错误
    public static int noAuthorityCode = 4;//无权限
    public static int noLoginCode = 5;//未登录


    public static String snExistMsg = "编号已存在";
    public static String noLoginMsg = "未登录";


    public static String loginSuccessMsg = "登录成功";
    public static String loginFailMsg = "登录失败";

    public static String getSuccessMsg = "获取成功";
    public static String getFailMsg = "获取失败";

    public static String addSuccessMsg = "添加成功";
    public static String addFailMsg = "添加失败";

    public static String deleteSuccessMsg = "删除成功";
    public static String deleteFailMsg = "删除失败";

    public static String updateSuccessMsg = "编辑成功";
    public static String updateFailMsg = "编辑失败";

    public static String operateSuccessMsg = "操作成功";
    public static String operateFailMsg = "操作失败";

}
